﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="index.aspx.cs" Inherits="LTJ.WebPage.WebSite.index" %>
<%@ Register TagPrefix="win" TagName="head" Src="~/customcontrol/head.ascx" %>
<%@ Register TagPrefix="win" TagName="foot" Src="~/customcontrol/foot.ascx" %>
<%@ Register TagPrefix="dyjU" TagName="ajaxloadportlist" Src="~/datacontrol/ajaxloadportlist.ascx"%>
<%@ Register TagPrefix="dyjU" TagName="ajaxallportlist" Src="~/datacontrol/ajaxallportlist.ascx"%>
<%@ Register TagPrefix="dyjU" TagName="ajaxcarrierlist" Src="~/datacontrol/ajaxcarrierlist.ascx"%>
<%@ Register TagPrefix="dyjU" TagName="ajaxroutelist" Src="~/datacontrol/ajaxroutelinelist.ascx"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>大赢家运价中国网</title>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="<%=config.Weburl%>css/comm.css" rel="stylesheet" type="text/css" />
<script src="<%=config.Weburl%>js/jquery.js" type="text/javascript"></script>
<script src="<%=config.Weburl%>js/jquery-exchange.js" type="text/javascript"></script>
<script src="<%=config.Weburl %>js/jquery-choose.js" type="text/javascript"></script>
<script src="<%=config.Weburl%>js/prototype.js" type="text/javascript"></script>
<script src="<%=config.Weburl%>js/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="<%=config.Weburl%>js/lightview.js" type="text/javascript"></script>
<script src="<%=config.Weburl%>js/effects.js" type="text/javascript"></script>
<script src="<%=config.Weburl%>js/table.js" type="text/javascript"></script>
<script src="<%=config.Weburl%>js/ajaxhelper.js" type="text/javascript"></script>
<script src="<%=config.Weburl%>js/common.js" type="text/javascript"></script>
</head>
<body>
<win:head runat="server" ID="head" />
<div class="cot">
	<div class="ixbg">
		<strong class="logo">
        <%if (companyinfo != null && companyinfo.logo.ToString() != "")
          { %>
        <img src="<%=companyinfo.logo %>" />
        <%}
          else
          { %>
          <img src="<%=config.Weburl%>images/logo.gif" />
        <%} %>
        </strong>
        <p class="lotp"><%if (userid == -1){%>运价中国网<%}%></p>
        <div class="ixnr" id="menu">
			<ul class="ixt" id="menut">
				<li>整柜</li>
				<li>拼箱</li>
				<li>航空</li>
				<li>拖卡</li>
				<li>特种</li>
			</ul>
			<div class="ixcn" id="menunr">
				<div class="con">
					<div class="ixso">
						<p class="ixso1"></p>
						<div class="ixso3">
							<p class="lt"></p>							
                            <div class="sok1 popxg" style="z-index:103">
							    <p class="ip1" style="width:94px; height:38px" id="ajaxloadportdatalist_str">起运港</p>
                                <input type="hidden" id="ajaxloadportdatalist_value" name="ajaxloadportdatalist_value"/>
							    <span class="an"></span>
							    <div class="cn" style="width:246px;" id="ajaxloadportdatalist_div">
                                    <dyjU:ajaxloadportlist runat="server" ID="acorploadportlist" />
							    </div>
						    </div>
							<div class="sok1 popxg" style="z-index:102">
							    <p class="ip1" style="width:94px; height:38px" id="ajaxallportdata_str">目的港</p>
                                <input type="hidden" id="ajaxallportdata_value" name="ajaxallportdata_value"/>
							    <span class="an"></span>
							    <div class="cn" style="width:246px;" id="ajaxallportdata_div">
                                    <dyjU:ajaxallportlist runat="server" ID="acorpallportlist" />
							    </div>
						    </div>
							<div class="sok1 popxg" style="z-index:101">
                                <p class="ip1" style="width:94px; height:38px;" id="ajaxroutelinedatalist_str">航线</p>
                                <input type="hidden" id="ajaxroutelinedatalist_value" name="ajaxroutelinedatalist_value"/>
                                <span class="an"></span>
                                <div class="cn" style="width: 246px;" id="ajaxroutelinedatalist_div">
                                    <dyjU:ajaxroutelist runat="server" ID="aroutelist" />
                                </div>
                            </div>
                            <div class="sok1 popxg" style="z-index:100">
                                <p class="ip1" id="ajaxcarrierlist_str" style="width:94px; height:38px;">船公司</p>
                                <input type="hidden" id="ajaxcarrierlist_value" name="ajaxcarrierlist_value"/>
					            <span class="an"></span>
					            <div class="cn" style="width:246px;" id="ajaxcarrierlist_div">
                                    <dyjU:ajaxcarrierlist runat="server" ID="acarrlist" />
					            </div>
                            </div>
							<p class="ixso5"><a title="" href="#" onclick="SearchList(1)"><img alt="" src="images/so_an.gif" /></a></p>
						</div>
						<p class="ixso2"></p>
					</div>
					
				</div>
				<div class="con">
					
					<div class="ixso">
						<p class="ixso1"></p>
						<div class="ixso3">
							<p class="lt"></p>
							
							<div class="sok2 blt">
							<input name="" type="text" class="so3" value="装运港" onblur="if(this.value==''||this.value=='装运港'){this.value='装运港';this.className='so3';}" onfocus="if(this.value=='装运港'){this.value='';this.className='so4';}" style="width:105px; height:36px;" />
							</div>
							<div class="sok3">
								<input name="" type="text" class="so3" value="卸运港" onblur="if(this.value==''||this.value=='卸运港'){this.value='卸运港';this.className='so3';}" onfocus="if(this.value=='卸运港'){this.value='';this.className='so4';}" style="width:130px; height:36px;" />
							</div>
							<div class="sok1 popxg">
								<p class="ip1" style="width:95px; height:38px;"></p>
								<span class="an"></span>
								<div class="cn" style="width:123px;">
									<table border="0" cellpadding="0" cellspacing="0" class="edtb3">
										<tbody>
											<tr class="tp">
												<td>1</td>
											</tr>
											<tr class="tp">
												<td>4</td>
											</tr>
											<tr class="tp">
												<td>7</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
							<div class="sok1 popxg">
								<p class="ip1" style="width:95px; height:38px;"></p>
								<span class="an"></span>
								<div class="cn" style="width:123px;">
									<table border="0" cellpadding="0" cellspacing="0" class="edtb3">
										<tbody>
											<tr class="tp">
												<td>1</td>
											</tr>
											<tr class="tp">
												<td>4</td>
											</tr>
											<tr class="tp">
												<td>7</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
							
							<p class="ixso5"><a title="" href="#"><img alt="" src="images/so_an.gif" /></a></p>
						</div>
						<p class="ixso2"></p>
					</div>
					
				</div>
				<div class="con">
					
					<div class="ixso">
						<p class="ixso1"></p>
						<div class="ixso3">
							<p class="lt"></p>
							
							<div class="sok2 blt">
							<input name="" type="text" class="so3" value="装运港" onblur="if(this.value==''||this.value=='装运港'){this.value='装运港';this.className='so3';}" onfocus="if(this.value=='装运港'){this.value='';this.className='so4';}" style="width:90px; height:36px;" />
							</div>
							<div class="sok3">
								<input name="" type="text" class="so3" value="卸运港" onblur="if(this.value==''||this.value=='卸运港'){this.value='卸运港';this.className='so3';}" onfocus="if(this.value=='卸运港'){this.value='';this.className='so4';}" style="width:90px; height:36px;" />
							</div>
							<div class="sok1 popxg">
								<p class="ip1" style="width:71px; height:38px;"></p>
								<span class="an"></span>
								<div class="cn" style="width:123px;">
									<table border="0" cellpadding="0" cellspacing="0" class="edtb3">
										<tbody>
											<tr class="tp">
												<td>1</td>
											</tr>
											<tr class="tp">
												<td>4</td>
											</tr>
											<tr class="tp">
												<td>7</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
							<div class="sok1 popxg">
								<p class="ip1" style="width:71px; height:38px;"></p>
								<span class="an"></span>
								<div class="cn" style="width:123px;">
									<table border="0" cellpadding="0" cellspacing="0" class="edtb3">
										<tbody>
											<tr class="tp">
												<td>1</td>
											</tr>
											<tr class="tp">
												<td>4</td>
											</tr>
											<tr class="tp">
												<td>7</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
							<div class="sok1 popxg">
								<p class="ip1" style="width:74px; height:38px;"></p>
								<span class="an"></span>
								<div class="cn" style="width:123px;">
									<table border="0" cellpadding="0" cellspacing="0" class="edtb3">
										<tbody>
											<tr class="tp">
												<td>1</td>
											</tr>
											<tr class="tp">
												<td>4</td>
											</tr>
											<tr class="tp">
												<td>7</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
							
							<p class="ixso5"><a title="" href="#"><img alt="" src="images/so_an.gif" /></a></p>
						</div>
						<p class="ixso2"></p>
					</div>
					
				</div>
				<div class="con">
					
					<div class="ixso">
						<p class="ixso1"></p>
						<div class="ixso3">
							<p class="lt"></p>
							
							<div class="sok2 blt">
							<input name="" type="text" class="so3" value="装运港" onblur="if(this.value==''||this.value=='装运港'){this.value='装运港';this.className='so3';}" onfocus="if(this.value=='装运港'){this.value='';this.className='so4';}" style="width:150px; height:36px;" />
							</div>
							<div class="sok3">
								<input name="" type="text" class="so3" value="卸运港" onblur="if(this.value==''||this.value=='卸运港'){this.value='卸运港';this.className='so3';}" onfocus="if(this.value=='卸运港'){this.value='';this.className='so4';}" style="width:170px; height:36px;" />
							</div>
							<div class="sok1 popxg">
								<p class="ip1" style="width:134px; height:38px;"></p>
								<span class="an"></span>
								<div class="cn" style="width:153px;">
									<table border="0" cellpadding="0" cellspacing="0" class="edtb3">
										<tbody>
											<tr class="tp">
												<td>1</td>
											</tr>
											<tr class="tp">
												<td>4</td>
											</tr>
											<tr class="tp">
												<td>7</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
							
							<p class="ixso5"><a title="" href="#"><img alt="" src="images/so_an.gif" /></a></p>
						</div>
						<p class="ixso2"></p>
					</div>
					
				</div>
				<div class="con">
					
					<div class="ixso">
						<p class="ixso1"></p>
						<div class="ixso3">
							<p class="lt"></p>
							
							<div class="sok2 blt">
							<input name="" type="text" class="so3" value="装运港" onblur="if(this.value==''||this.value=='装运港'){this.value='装运港';this.className='so3';}" onfocus="if(this.value=='装运港'){this.value='';this.className='so4';}" style="width:90px; height:36px;" />
							</div>
							<div class="sok3">
								<input name="" type="text" class="so3" value="卸运港" onblur="if(this.value==''||this.value=='卸运港'){this.value='卸运港';this.className='so3';}" onfocus="if(this.value=='卸运港'){this.value='';this.className='so4';}" style="width:90px; height:36px;" />
							</div>
							<div class="sok1 popxg">
								<p class="ip1" style="width:71px; height:38px;"></p>
								<span class="an"></span>
								<div class="cn" style="width:123px;">
									<table border="0" cellpadding="0" cellspacing="0" class="edtb3">
										<tbody>
											<tr class="tp">
												<td>1</td>
											</tr>
											<tr class="tp">
												<td>4</td>
											</tr>
											<tr class="tp">
												<td>7</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
							<div class="sok1 popxg">
								<p class="ip1" style="width:71px; height:38px;"></p>
								<span class="an"></span>
								<div class="cn" style="width:123px;">
									<table border="0" cellpadding="0" cellspacing="0" class="edtb3">
										<tbody>
											<tr class="tp">
												<td>1</td>
											</tr>
											<tr class="tp">
												<td>4</td>
											</tr>
											<tr class="tp">
												<td>7</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
							<div class="sok1 popxg">
								<p class="ip1" style="width:74px; height:38px;"></p>
								<span class="an"></span>
								<div class="cn" style="width:123px;">
									<table border="0" cellpadding="0" cellspacing="0" class="edtb3">
										<tbody>
											<tr class="tp">
												<td>1</td>
											</tr>
											<tr class="tp">
												<td>4</td>
											</tr>
											<tr class="tp">
												<td>7</td>
											</tr>
										</tbody>
									</table>
								</div>
							</div>
							
							<p class="ixso5"><a title="" href="#"><img alt="" src="images/so_an.gif" /></a></p>
						</div>
						<p class="ixso2"></p>
					</div>
					
				</div>
				<p class="gj"><a title="" href="#">高级搜索</a></p>
			</div>
	</div>
</div>
</div>
<win:foot runat="server" ID="foot1" />
</body>
<script type="text/javascript">
    jQuery(document).ready(function () {
        choose("popxg");
        jQuery("#menu").Exchange({ MIDS: "menut", CIDS: "menunr", timer: 0, count: 4 });
    });

    function SearchList(type) {
        var loadstr = document.getElementById("ajaxloadportdatalist_str").innerHTML;
        if (loadstr == "起运港") {
            loadstr = "";
        }
        loadstr = encodeURIComponent(loadstr).replace("'", "%27");

        var deststr = document.getElementById("ajaxallportdata_str").innerHTML;
        if (deststr == "目的港") {
            deststr = "";
        }
        deststr = encodeURIComponent(deststr).replace("'", "%27");

        var routestr = document.getElementById("ajaxroutelinedatalist_value").value;
        var carrstr = document.getElementById("ajaxcarrierlist_value").value;

        var rstr = encodeURIComponent(document.getElementById("ajaxroutelinedatalist_str").innerHTML);
        var bstr = encodeURIComponent(document.getElementById("ajaxcarrierlist_str").innerHTML);

        window.location.href = "routedatalist.aspx?acttype=" + type + "&loadport=" + loadstr + "&destport=" + deststr + "&routestr=" + routestr + "&boatname=" + carrstr + "&rname=" + rstr + "&bname=" + bstr;
    }

    function routesSearch() {
        loading();
        var val = document.getElementById('keyword_txt').value;
        if (val == "输入港口、航线、船公司、运价等进行搜索") {
            val = "";
        }
        if (val != "") {
            val = encodeURIComponent(val.replace("'", "%27"));
        }

        if (document.getElementById('qygType').className == 'ixt2') {
            window.location.href = 'routedatalist.aspx?acttype=1&loadport=' + val;
        }
        if (document.getElementById('mdgType').className == 'ixt2') {
            window.location.href = 'routedatalist.aspx?acttype=2&loadport=' + val;
        }
        if (document.getElementById('hxType').className == 'ixt2') {
            window.location.href = 'routedatalist.aspx?acttype=3&loadport=' + val;
        }
        if (document.getElementById('cgsType').className == 'ixt2') {
            window.location.href = 'routedatalist.aspx?acttype=4&loadport=' + val;
        }
    }
</script>
</html>
